<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class MY_Controller extends CI_Controller {

	public function __construct()
	{
		parent::__construct();
		$this->load->library('session');
		if( $this->session->userdata('userid')==false)
		{
			$this->load->helper('url');
			redirect('/manage/login');
			//header("Location:/manage/login");
		}
	}
}

/* End of file welcome.php */
/* Location: ./application/controllers/welcome.php */